/*    */ package com.cr.generator.config;
/*    */ 
/*    */ import org.springframework.beans.factory.annotation.Value;
/*    */ import org.springframework.boot.context.properties.ConfigurationProperties;
/*    */ import org.springframework.context.annotation.PropertySource;
/*    */ import org.springframework.stereotype.Component;
/*    */ 
/*    */ @Component
/*    */ @ConfigurationProperties(prefix = "gen")
/*    */ @PropertySource({"classpath:generator.yml"})
/*    */ public class GenConfig {
/*    */   public static String author;
/*    */   
/*    */   public static String packageName;
/*    */   
/*    */   public static boolean autoRemovePre;
/*    */   
/*    */   public static String tablePrefix;
/*    */   
/*    */   public static String getAuthor() {
/* 32 */     return author;
/*    */   }
/*    */   
/*    */   @Value("${author}")
/*    */   public void setAuthor(String author) {
/* 38 */     GenConfig.author = author;
/*    */   }
/*    */   
/*    */   public static String getPackageName() {
/* 43 */     return packageName;
/*    */   }
/*    */   
/*    */   @Value("${packageName}")
/*    */   public void setPackageName(String packageName) {
/* 49 */     GenConfig.packageName = packageName;
/*    */   }
/*    */   
/*    */   public static boolean getAutoRemovePre() {
/* 54 */     return autoRemovePre;
/*    */   }
/*    */   
/*    */   @Value("${autoRemovePre}")
/*    */   public void setAutoRemovePre(boolean autoRemovePre) {
/* 60 */     GenConfig.autoRemovePre = autoRemovePre;
/*    */   }
/*    */   
/*    */   public static String getTablePrefix() {
/* 65 */     return tablePrefix;
/*    */   }
/*    */   
/*    */   @Value("${tablePrefix}")
/*    */   public void setTablePrefix(String tablePrefix) {
/* 71 */     GenConfig.tablePrefix = tablePrefix;
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-generator-4.7.0.jar!\com\cr\generator\config\GenConfig.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */